package org.wenhua.yuan.and.fragment

import android.content.Intent
import android.os.Bundle
import kotlinx.android.synthetic.main.fragment_icbc_tab.*

import org.wenhua.yuan.R
import org.wenhua.yuan.and.module_flutter.JFlutterActivity
import org.wenhua.yuan.rn.RNContainerActivity

class ICBCTabFragment : IBaseFragment() {
    override fun getLayoutRes(): Int {
        return R.layout.fragment_icbc_tab
    }


    override fun onActivityCreated(savedInstanceState: Bundle?) {
        super.onActivityCreated(savedInstanceState)

        btn_rn.setOnClickListener {
            startActivity(Intent(activity, RNContainerActivity::class.java))
        }
        btn_flutter.setOnClickListener {
            startActivity(Intent(activity, JFlutterActivity::class.java))
        }
    }


}
